package com.itheima.service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService {
    /*新增套餐*/
    void add(Setmeal setmeal, List<Long> checkgroupIds);
    /*编辑套餐*/
    void edit(Setmeal setmeal, List<Long> checkGroupIds);
    /*根据id查询套餐*/
    Setmeal findById(Long id);
    /*分页查询*/
    PageResult findPage(QueryPageBean queryPageBean);
}
